

--[[部落战 击杀boss, 增加积分
MonDieDispatcher.CampBattleMonstersDie = function (monster, sysarg, monId)	
	local myCamp = Actor.getIntProperty(sysarg, PROP_ACTOR_ZY)
	if myCamp == 0 then
		return
	end
	
	local nSceneId = Actor.getSceneId(sysarg)
	local playerList = LuaHelp.getSceneActorListById(nSceneId)
	for k, ply in ipairs(playerList or {}) do
		if myCamp == Actor.getIntProperty(ply, PROP_ACTOR_ZY) then
			SetActorPoint(sysarg, BLZConfig.KillBossPoint)
			SetCampPoint(myCamp, BLZConfig.KillBossPoint)
		end
	end
	
	if System.hasTimer("flushBoss_time_cd") == true then
		System.deleteTimer("flushBoss_time_cd")
	end
	System.addTimer("flushBoss_time_cd", BLZConfig.BossTimeInterval*1000, 1);
end


MonDieDispatcher.register(BLZConfig.BossId, MonDieDispatcher.CampBattleMonstersDie)
]]
